package com.qunar.wan.common_api.service.mapper;

import com.qunar.wan.common_api.model.Query;
import com.qunar.wan.common_api.model.UserActivity;
import com.qunar.wan.common_api.serializer.RowBounds;

import java.util.List;

/**
 * User: huiming.suo Date: 13-11-27 Time: 下午3:41
 */
public interface UserActivityMapper extends BaseMapper<UserActivity> {

    /**
     * 根据时间链接查询
     * 
     * @param query
     */
    List<UserActivity> selectByTimeQuery(Query query, RowBounds rowBounds);

    /**
     * 根据时间链接查询所有
     * 
     * @param query
     */
    List<UserActivity> selectByTimeQuery(Query query);

}
